python max absolute value

32

python max absolute value -

>>> max([3, 7, -10], key=abs)
-10

Comments

Submit
0 Comments